class Result < ActiveRecord::Base
  belongs_to :test
  
  validates_presence_of :title , :message => "结果标题不可为空"
  validates_presence_of :description , :message => "结果必须有描述"
end
